package com.photographysharing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.photographysharing.entity.Files;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface FilesMapper extends BaseMapper<Files> {

    @Select("select type from files where uuid = #{uuid}")
    public String getTypeByUUID(String uuid);



}
